<div class="cart">
	<div class="main">
		<div class="title">
			<div class="tile"></div>
			购物车
		</div>
		
	</div>
	<div class="cartbox">
	{{#if user.cart_detail.length}} {{#each user.cart_detail}} {{#each goods_info}}
	<div class="item">
		<div class="img">
			<a href="#default/detail?id={{goods_id}}">
				<img bind-src="{{goods.preview_img_url}}?imageView/1/h/120" />
			</a>
		</div>
		<div class="info">
			<div class="name">
				<a href="#default/detail?id={{goods_id}}">{{goods.goods_name}}</a>
			</div>
			<div class="method">
				<div class="price">
					￥<span>{{#Fixed goods.price}}</span>
				</div>
				<div class="num">
					<input type="num" value="{{num}}" bind-input="{{'num'}}" event-change="{{'$Top.$Event.cart.update_cart_num'}}" />
				</div>
				<div class="remove">
					<a event-click="{{'$Top.$Event.cart.remove_goods'}}">
						删除
					</a>
				</div>
			</div>
		</div>
	</div>
	{{/each}} {{/each}} {{#else}}
    <p>购物车中暂无商品</p>
    {{/if}}
	</div>
	
	<div class="queding">
		<div class="price">
			￥<span>{{#Fixed $Cache.cart.total_price}}</span>
		</div>
		<div event-click="{{'$Event.cart.cart_to_ach'}}" class="submit">
			去结算
		</div>
	</div>
</div>

<link rel="stylesheet" type="text/css" href="/css/catering/mobile_cart.css" />